package com.example.deptempmanageservice.service;

import com.example.deptempmanageservice.dao.NationMapper;
import com.myprojects.common.pojo.Nation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NationService {

    @Autowired
    NationMapper nationMapper;

    public List<Nation> getNation(){
        return nationMapper.selectByExample(null);
    }
}
